home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr22
/
shared10.zip
/
SHARED.DOC
next >
Wrap
Text File
|
1993-05-12
|
3KB
|
73 lines
SHARED 1.0
by Gary Chanson
SHARED is Copyright 1992 by Gary Chanson and Starquest
Systems. No restrictions are placed on the non-commercial
use of this program. This program and its documentation may
be copied and re-distributed provided that they are not
changed and no fee is charged for them. An exception is
granted to not-for-profit user's groups, which are
authorized to charge a nominal fee for materials and
handling.
Description:
SHARED is a DOS utility which displays a list of the files
currently in use. It can also close files selectively or globally.
It requires that the DOS utility SHARE has been loaded. Its purpose
is to close files which have been left open by programs which have not
cleaned-up properly due to premature termination or program bugs.
************************************************************
* *
* WARNING! *
* *
* Use of this program can cause damage to stored data *
* if a file is closed before the program which opened *
* it is finished accessing it! DOS does not prevent a *
* program from accessing a file closed in this manor! *
* *
************************************************************
Usage:
To display a list of the files currently open, enter:
SHARED <enter>
SHARED will display a list of open files such as:
C:\4DOS4\4DOS.COM
C:\TELIX\TELIX.EXE
C:\TELIX\HOST.LOG
C:\TELIX\BBS.FON
To close a file, use the -C option. The complete path and name of the
file must be specified. To close HOST.LOG from the above example,
enter:
SHARED -c C:\TELIX\HOST.LOG <enter>
SHARED can also close all files or all files for a specific process
(program). To close all files, enter:
SHARED -a <enter>
To close the files of a specific process, enter:
SHARED -p process_id <enter>
If no process is specified, the current process is assumed. The
process ID is the segment address of the Program Segment Prefix (PSP)
of the program.
Warning! The -a and -p options should be used VERY carefully!
This is approximately like kicking the ladder out from under
yourself!